<a href="#" onclick="javascript:none()" class="parent"><span><g:message code="nav.tab.inventory" default="Inventory"/></span></a>
<ul>
    <shiro:hasPermission permission="inventory:index">
        <li>
            <a href="${createLink(controller: 'inventory', action : 'index')}"><span><g:message code="inventory.label" default="Inventory"/></span></a>
        </li>
    </shiro:hasPermission>
 
    <shiro:hasPermission permission="stockIn:index">
        <li>
            <a href="${createLink(controller: 'stockIn', action : 'index')}"><span><g:message code="stockIn.label" default="StockIn"/></span></a>
        </li>
    </shiro:hasPermission>

    <shiro:hasPermission permission="stockOut:index">
        <li>
            <a href="${createLink(controller: 'stockOut', action : 'index')}"><span><g:message code="stockOut.label" default="StockOut"/></span></a>
        </li>
    </shiro:hasPermission>

    <shiro:hasPermission permission="adjustment:index">
        <li>
            <a href="${createLink(controller: 'adjustment', action : 'index')}"><span><g:message code="adjustment.label" default="Adjustment"/></span></a>
        </li>
    </shiro:hasPermission>

</ul>
